Platform Explorer / Nuxeo Platform 2021.48

Component org.nuxeo.ecm.platform.routing.CoreExtensions

Requirements

Resolution Order

736
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source


<component name="org.nuxeo.ecm.platform.routing.CoreExtensions"
  version="1.0">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>
  <require>org.nuxeo.ecm.plateform.task.type</require>
  <require>org.nuxeo.ecm.platform.audit.core.types-contrib</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
    point="schema">
    <schema name="document_route_instance" prefix="docri"
      src="schemas/document_route_instance.xsd" />
    <schema name="document_route_model" prefix="docrm"
      src="schemas/document_route_model.xsd" />
    <schema name="step_folder" prefix="stepf" src="schemas/step_folder.xsd" />
    <schema name="info_comments" src="schemas/info_comments.xsd"
      prefix="infocom" />
    <schema name="conditional_step_folder" prefix="condstepf"
      src="schemas/conditional_step_folder.xsd" />
    <schema name="route_node" prefix="rnode" src="schemas/route_node.xsd" />
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService"
    point="doctype">

    <facet name="Routable" />
    <facet name="DocumentRoute" perDocumentQuery="false" />

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <facet name="RouteStep" />
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <facet name="StepFolder" />

    <facet name="RoutingTask" perDocumentQuery="false" />

    <facet name="CommentsInfoHolder">
      <schema name="info_comments" />
    </facet>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <facet name="ConditionalStepFolder">
      <schema name="conditional_step_folder" />
    </facet>

    <doctype name="RoutingTask" extends="TaskDoc">
      <facet name="RoutingTask"/>
    </doctype>

    <doctype name="DocumentRouteInstancesRoot" extends="Folder">
      <facet name="HiddenInNavigation" />
      <facet name="SystemDocument" />
      <facet name="HiddenInCreation" />
      <subtypes>
        <type>Folder</type>
        <type>HiddenFolder</type>
      </subtypes>
    </doctype>

    <doctype name="DocumentRouteModelsRoot" extends="Folder">
      <facet name="HiddenInNavigation" />
      <facet name="SystemDocument" />
      <facet name="HiddenInCreation" />
      <subtypes>
        <type>Folder</type>
      </subtypes>
    </doctype>

    <doctype name="Domain" append="true">
      <subtypes>
        <type>DocumentRouteInstancesRoot</type>
      </subtypes>
    </doctype>

    <doctype name="DocumentRoute" extends="StepFolder">
      <facet name="ForceAudit" />
      <facet name="DocumentRoute" />
      <facet name="SystemDocument" />
      <schema name="document_route_instance" />
      <schema name="document_route_model" />
      <subtypes>
        <type>StepFolder</type>
        <type>DocumentRouteStep</type>
        <type>ConditionalStepFolder</type>
      </subtypes>
    </doctype>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <doctype name="StepFolder" extends="OrderedFolder">
      <facet name="HiddenInNavigation" />
      <facet name="StepFolder" />
      <facet name="SystemDocument" />
      <schema name="step_folder" />
      <subtypes>
        <type>StepFolder</type>
        <type>DocumentRouteStep</type>
        <type>RouteNode</type>
      </subtypes>
    </doctype>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <doctype name="DocumentRouteStep" extends="Document">
      <schema name="dublincore" />
      <facet name="RouteStep" />
      <facet name="Commentable" />
      <facet name="CommentsInfoHolder" />
      <facet name="SystemDocument" />
    </doctype>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <doctype name="ConditionalStepFolder" extends="StepFolder">
      <facet name="ConditionalStepFolder" />
      <facet name="SystemDocument" />
      <subtypes>
        <type>StepFolder</type>
        <type>DocumentRouteStep</type>
      </subtypes>
    </doctype>

    <doctype name="RouteNode" extends="Document">
      <facet name="HiddenInNavigation" />
      <facet name="SystemDocument" />
      <facet name="NotFulltextIndexable" />
      <schema name="dublincore" />
      <schema name="route_node" />
      <prefetch>rnode:nodeId</prefetch>
    </doctype>

  </extension>

</component>